/*
 * @Author       : 邱狮杰
 * @Date         : 2021-05-18 10:59:08
 * @LastEditTime : 2021-05-19 17:24:08
 * @FilePath     : /wedding-dress-selection/src/index.tsx
 * @Description  :
 */

import React from 'react'
import ReactDOM from 'react-dom'
import './index.css'
import 'swiper/swiper.scss'
import 'antd/dist/antd.css'
import App from './App'
import { CategoryContext, ReturnTitleContext, UserInfoContext, LikeContext, WeddingContext } from './reducer/index'
import { BrowserRouter } from 'react-router-dom'

ReactDOM.render(
  <React.StrictMode>
    <CategoryContext>
      <ReturnTitleContext>
        <UserInfoContext>
          <LikeContext>
            <WeddingContext>
              <BrowserRouter>
                <App />
              </BrowserRouter>
            </WeddingContext>
          </LikeContext>
        </UserInfoContext>
      </ReturnTitleContext>
    </CategoryContext>
  </React.StrictMode>,
  document.getElementById('root')
)
